package mesweb.mesweb.service.impl.procedure;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import mesweb.mesweb.entity.Procedure.MesProduceProcedureBranchProcedure;
import mesweb.mesweb.mapper.procedure.MesProduceProcedureBranchProcedureMapper;
import mesweb.mesweb.service.procedure.IMesProduceProcedureBranchProcedureService;
import mesweb.mesweb.vo.procecdure.MesProduceProcedureBranchProcedureVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 生产支线工序关系
 * @Author: jeecg-boot
 * @Date:   2021-06-26
 * @Version: V1.0
 */
@Service
public class MesProduceProcedureBranchProcedureServiceImpl extends ServiceImpl<MesProduceProcedureBranchProcedureMapper, MesProduceProcedureBranchProcedure> implements IMesProduceProcedureBranchProcedureService {

    @Autowired
    private  MesProduceProcedureBranchProcedureMapper mesProduceProcedureBranchProcedureMapper;
    @Override
    public IPage<MesProduceProcedureBranchProcedureVo> getProduceProcedureBranchProcedure(Page page, QueryWrapper queryWrapper) {
        return mesProduceProcedureBranchProcedureMapper.getProduceProcedureBranchProcedure(page,queryWrapper);
    }

    @Override
    public List<MesProduceProcedureBranchProcedureVo> getProduceProcedureBranchProcedure(QueryWrapper queryWrapper) {
        return mesProduceProcedureBranchProcedureMapper.getProduceProcedureBranchProcedure(queryWrapper);
    }
}
